/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.query;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;

/**
 *
 *
 * @author zsp
 * @date 2021-12-28
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class BomByIdQuery {

    /**
     * bomId
     */
    private Long bomId;

    private Boolean withGoods;

    private Boolean withEquipment;

    private Boolean withFlowHandleInfo;

    public Boolean getWithFlowHandleInfo() {
        return Objects.equals(true, withFlowHandleInfo);
    }

    public Boolean getWithGoods() {
        return Objects.equals(true, withGoods);
    }
    public Boolean getWithEquipment() {
        return Objects.equals(true, withEquipment);
    }
}
